When my Apple device is disconnected from power
(27 actions, 18 KB)
0 Vibrate Device
1 Run Shortcut
Turn on Grayscale
Workflow
:
{ "workflowIdentifier": "FDE42164-4FF0-490B-B04B-0959F81DE7DA", "workflowName": "Turn on Grayscale", "isSelf": false }
2 Run Shortcut
Brighten Screen
Workflow
:
{ "workflowIdentifier": "C3771EC7-4647-4C64-8383-3A7C1F7B016E", "workflowName": "Brighten Screen", "isSelf": false }
3 Run Shortcut
Recover from Ultra Low Power Saver
Workflow
:
{ "workflowIdentifier": "04C1F83A-227F-4647-A8AF-022D6FB1467F", "workflowName": "Recover from Ultra Low Power Saver", "isSelf": false }
4 Text
➔ Unplug
»
Unplug
5 Run Shortcut
Log Device Info
Input
:
[4 Unplug]
Workflow
:
{ "workflowIdentifier": "A214F95D-8C37-4974-9943-EC520ACD9F34", "workflowName": "Log Device Info", "isSelf": false }
6 Get Network Details of Wi-Fi »
7 If
[6 Network Details]
does not have any value
8 Turn Bluetooth On
9 Turn Personal Hotspot On
10 End If
11 If
[DeviceDetails
’s Name
]
is
iPhone
12 DataJar > GetValueIntent »
keyPath
:
Apple Device Info.
[DeviceDetails
’s Name
]
.Plug.Timestamp
13 Get Dates from
[12 Value]
»
14 If
[13 Dates]
is today
Date
:
[CurrentDate]
Duration
:
"1" days
ConditionalActionString
:
15 Otherwise
16 Dictionary »
{ "date": "Today", "frontmatterKey": "firstUnplugPhoneAt", "frontmatterValue": "
[CurrentDate
{\"WFISO8601IncludeTime\":true,\"Date Style\":\"ISO 8601\"}
]
" }
17 Run Shortcut
✍️ Log Journal
➔ todayJournal
Input
:
[16 Dictionary]
Workflow
:
{ "workflowIdentifier": "5BAE1DA2-FC30-4FFA-9A44-466C405DA925", "workflowName": "✍️ Log Journal", "isSelf": false }
18 End If
19 End If ▵
11
20 If
[DeviceDetails
’s Name
]
contains
iPhone SE
21 Text »
Natural Soundtracks
22 Run Shortcut
▶️ Spotify - Silence
Input
:
[21 Text]
Workflow
:
{ "workflowIdentifier": "9B8C3053-A3BD-4CDF-91D3-753DC957EB9D", "workflowName": "▶️ Spotify - Silence", "isSelf": false }
23 Set Media Volume to
0.6010100245475769
24 Lock Screen
25 End If
26 Stop This Shortcut